package com.yuyou.train.user.vo.req;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author 
 */
public class ReqUpdateUser {


	@NotBlank(message="username不能为空")
	@ApiModelProperty(value = "用户名", required = true)
    private String username;

	@ApiModelProperty(value = "性别（0：男，1：女，2：未知）", required = false)
    private String sex;

	@ApiModelProperty(value = "身份证", required = false)
    private String idCard;

	@ApiModelProperty(value = "email", required = false)
    private String email;

	@ApiModelProperty(value = "学校", required = false)
    private String school;

	@ApiModelProperty(value = "专业", required = false)
    private String major;

	@ApiModelProperty(value = "类别  0：学员，1：导师", required = false)
	private String type;

    /**
     * 任教科目ID列表
     */
	@ApiModelProperty(value = "任教科目ID列表", required = true)
	@NotEmpty(message="科目ID列表不能为空")
    private List<String> subjectList;

	@ApiModelProperty(value = "任教学段ID列表", required = false)
    private List<String> sectionList;

	@ApiModelProperty(value = "个人标签ID列表", required = false)
    private List<String> tagList;

	@ApiModelProperty(value = "个人简介", required = false)
    private String introduction;

	@ApiModelProperty(value = "头像url", required = false)
    private String headImg;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public List<String> getSubjectList() {
		return subjectList;
	}

	public void setSubjectList(List<String> subjectList) {
		this.subjectList = subjectList;
	}

	public List<String> getSectionList() {
		return sectionList;
	}

	public void setSectionList(List<String> sectionList) {
		this.sectionList = sectionList;
	}

	public List<String> getTagList() {
		return tagList;
	}

	public void setTagList(List<String> tagList) {
		this.tagList = tagList;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}


	
	
	
}